package com.hmall.search.service;

import com.hmall.common.dto.PageDTO;
import com.hmall.common.pojo.ItemDoc;
import com.hmall.common.pojo.RequestItems;

import java.util.List;
import java.util.Map;

public interface SearchService {

    List<String> getSuggestionList(String key);

    Map<String, List<String>> filters(RequestItems requestItems);

    PageDTO<ItemDoc> getItems(RequestItems requestItems);
}
